package com.sino.operation.commons.commonEnum;

public enum StatusInfoEnum {

    CENTER_FLAG_IS(1,"该渠道的作业中心必须开启"),
    CENTER_FLAG_NO(2,"该渠道的作业中心不必开启"),
    CENTER_STATE_NO(1,"该作业中心已开启"),
    CENTER_STATE_OFF(2,"该作业中心未开启"),
    COMPLETE_NORMAL(1,"正常提交，进入下一流程"),
    COMPLETE_BACK(2,"回退提交"),
    COMPLETE_CONDITION(3,"条件通过"),
    SLICE_FLAGE(1,"切片"),
    TOTAL_FLAGE(2,"整单"),
    CHARGE_EXECUTE_NO(0,"该记账的方法不走"),
    CHARGE_EXECUTE_YES(1,"该记账方法顺利执行");
    private Integer code;

    private String message;

    public Integer getCode(){
        return code;
    }

    public String getMessage(){
        return message;
    }

    StatusInfoEnum(Integer code, String message){
        this.code=code;
        this.message=message;
    }

}
